home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / protect-your-privacy / p.g.p. / pgpsendmail / source / smakefile < prev    next >
Makefile  |  1996-02-26  |  2KB  |  77 lines

  1. #
  2. # makefile for PGPSendmail (SAS/C)
  3. #
  4. # created by Peter Simons <simons@peti.GUN.de>
  5. #
  6.  
  7. # Labels:
  8. # =======
  9. #
  10. SRC    = pgpsendmail.c rfcstuff.c expandalias.c system.c
  11. OBJS   = pgpsendmail.o rfcstuff.o expandalias.o system.o
  12.  
  13.  
  14. # Compiler flags:
  15. # ===============
  16. #
  17. CFLAGS = PARAMETERS=REGISTERS DEBUG=FF STRINGMERGE NOCHECKABORT
  18. #        NOSTKCHK OPTIMIZE OPTIMIZERINLINELOCAL OPTIMIZERSIZE
  19.  
  20.  
  21. # Linker flags:
  22. # =============
  23. #
  24. LFLAGS  = SMALLCODE SMALLDATA
  25.  
  26.  
  27. #
  28. # Targets
  29. #
  30. all:            PGPSendmail PGPSendmail.guide
  31.         # default target
  32.  
  33. PGPSendmail.guide:      PGPSendmail.texinfo
  34.         makeinfo --amiga-39 --fill-column 75 $*.texinfo
  35.  
  36. genproto:
  37.         Delete protos.h
  38.         sc $(SRC) GENPROTO NOGPTDEF
  39.         Type \#?_protos.h >protos.h
  40.         Delete \#?_protos.h
  41.  
  42. bump:
  43.         SetEnv rev `Type PGPSendmail_rev.rev`
  44.         MakeLogEntry \#?.c v2_$$rev
  45.         bumprev 2 PGPSendmail
  46.         @Delete PGPSendmail_rev.i QUIET
  47.         SetEnv rev `Type PGPSendmail_rev.rev`
  48.         Echo >>History "*n*n"
  49.         Echo >>History "v2.$$rev:                  " NOLINE
  50.         Date >>History
  51.         UnSetEnv rev
  52.  
  53. install:        PGPSendmail
  54.         slink PGPSendmail TO UUCPC:PGPSendmail NODEBUG
  55.  
  56.  
  57. #
  58. # Actions
  59. #
  60. .c.o:
  61.         sc $(CFLAGS) $*.c
  62.  
  63.  
  64. PGPSendmail:       $(OBJS)
  65.         sc $(OBJS) TO PGPSendmail $(LFLAGS) LINK
  66.         @Delete PGPSendmail.lnk
  67.  
  68.  
  69. #
  70. # Dependencies
  71. #
  72. expandalias.o: expandalias.c protos.h
  73. pgpsendmail.o: pgpsendmail.c pgpsendmail.h protos.h pgpsendmail_rev.h
  74. rfcstuff.o: rfcstuff.c protos.h pgpsendmail.h
  75. system.o: system.c protos.h pgpsendmail.h
  76.  
  77.